import request from "@/utils/request.js";
import utils from "@/utils/utils.js"
export default {
	wxLogin(params) {
		return request({
			url: 'wxlogin',
			method: 'post',
			data: params
		})
	},
	getWxInfo(params) {
		return request({
			url: 'getWxInfo',
			method: 'get',
			data: params
		})
	},
	getQRcode(params) {
		return request({
			url: 'getQRcode',
			method: 'post',
			data: params
		})
	},
	getSubUserlist(params) {
		return request({
			url: 'getSubUserlist',
			method: 'get',
			params: params
		})
	},
	getUserScore(params) {
		return request({
			url: 'getUserScore',
			method: 'get',
			params: params
		})
	},
	updateNickName(params) {
		return request({
			url: 'updateNickName',
			method: 'post',
			data: params
		})
	},
}
